﻿@model SoftHotel.Models.Invitado

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Eliminar</h2>

<h3>¿Esta seguro que desea eliminar este invitado de la lista?</h3>
<fieldset>
    <legend>Invitado</legend>

     <table id="MainContent_Table1" rules="none" style="border-color: Black; width: 900px; margin-bottom: 0px;">
	<tbody><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Nombre: </td>
	  <td> 
          
           @Html.DisplayFor(model => model.nombre)
           </td>

          <td style="font-weight: bold; width: 145px;" align="left">Tipo Documento: </td>
	  <td style="width: 300px;"><div class="editor-field">
            @Html.DisplayFor(model => model.tipoDoc)
          
        </div></td>
      <td> </td>
	  
	</tr><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Apellido Paterno: </td>
	  <td><div class="editor-field">
              @Html.DisplayFor(model => model.apePaterno)
            
        </div> </td>
	  <td style="font-weight: bold;">Numero de Documento: </td>
	  <td> @Html.DisplayFor(model => model.numeroDocumento)</td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Apellido Materno: </td>
	  <td><div class="editor-field">
            @Html.DisplayFor(model => model.aperMaterno)
           
        </div></td>
	  <td style="font-weight: bold;"> </td>
	  <td>  </td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;"></td>
	  <td></td>
	  
	</tr>
	
</tbody></table>
@using (Html.BeginForm()) {
    <p>
    @Html.HiddenFor(model => model.idReserva)
        <input type="submit" value="Delete" /> 
        
    </p>
}

    
</fieldset>

   @using (Html.BeginForm("Invitados","ReservaEv",FormMethod.Get))
{
        
        <p>
            @Html.HiddenFor(model => model.idReserva)
    
            <input type="submit" value="Volver" />
        
      
</p> }

